package com.example.sunsg.okhttptest.bean;

import android.content.Context;
import android.widget.Toast;

/**
 * Created by sunsg on 15/9/11.
 */
public class KeyValue {
    private String key;
    private String value;

    public KeyValue(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    private void toast(Context context){
        Toast.makeText(context,"toast",Toast.LENGTH_SHORT).show();
    }


    @Override
    public String toString() {
        return "KeyValue{" +
                "key='" + key + '\'' +
                ", value='" + value + '\'' +
                '}';
    }
}
